package cn.iocoder.yudao.module.ride.controller.admin.ruledict.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import cn.idev.excel.annotation.*;

@Schema(description = "管理后台 - 规则字典 Response VO")
@Data
@ExcelIgnoreUnannotated
public class RuleDictRespVO {

    @Schema(description = "规则ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "27555")
    @ExcelProperty("规则ID")
    private Integer id;

    @Schema(description = "规则类型(1-会员等级规则,2-黑名单规则)", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("规则类型(1-会员等级规则,2-黑名单规则)")
    private Integer ruleType;

    @Schema(description = "规则编码", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("规则编码")
    private String ruleCode;

    @Schema(description = "规则名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "赵六")
    @ExcelProperty("规则名称")
    private String ruleName;

    @Schema(description = "规则值", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("规则值")
    private String ruleValue;

    @Schema(description = "规则描述")
    @ExcelProperty("规则描述")
    private String ruleDesc;

    @Schema(description = "排序号", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("排序号")
    private Integer sortOrder;

    @Schema(description = "是否启用(0-否,1-是)", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("是否启用(0-否,1-是)")
    private Integer isEnabled;

    @Schema(description = "创建时间")
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}
